﻿using IterationLife.Educations.Queries;
using IterationLife.Extensions.ControllerBase;
using IterationLife.PlatformBackEnd.AppServices.Contracts.Educations;
using IterationLife.PlatformBackEnd.AppServices.Dtos.Educations;

namespace IterationLife.PlatformBackEnd.WebSite.Areas.Educations.Controllers {
    /// <summary>
    /// 课程表控制器
    /// </summary>
    public class CurriculumScheduleController : FormControllerBase<CurriculumScheduleDto, CurriculumScheduleQuery> {
        /// <summary>
        /// 初始化课程表控制器
        /// </summary>
        /// <param name="service">课程表服务</param>
        public CurriculumScheduleController( ICurriculumScheduleService service ) 
            : base( service ) {
            CurriculumScheduleService = service;
        }

        /// <summary>
        /// 课程表服务
        /// </summary>
        public ICurriculumScheduleService CurriculumScheduleService { get; private set; }
    }
}